
function ajax_request(_url,_type,_data,_success,others){
   var token = localStorage.getItem("token");
    $.ajax({
        type:_type,
        url:_url,
        beforeSend: function(xhr){xhr.setRequestHeader('authToken', token);},
        data:_data,
        success:function (res,others) {
            _success(res,others);
        }
    })
}
